package com.first.course.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.first.common.pojo.EduCourse;
import com.first.common.pojo.TbCheckCourse;
import org.apache.ibatis.annotations.Param;


/**
 * @program: first-project
 * @description:
 * @author: 路志欣
 * @create: 2023-05-26 15:53
 **/

public interface EduCourseMapper extends BaseMapper<EduCourse>{
       Page<EduCourse> findByConditionPage(@Param("page") Page<EduCourse> page, @Param("ew") Wrapper<EduCourse> wrapper);

       Page<EduCourse> findCheckCourse(@Param("page") Page<EduCourse> page, @Param("ew") Wrapper<EduCourse> wrapper);

       Integer updateCourseDescription(EduCourse eduCourse);
}